<div class="button_maps">
    <a onclick="maps_metro();" id="bmaps_metro">Метро</a>
    <a onclick="maps_land();"  id="bmaps_land"> Карта</a>
</div>
<div class="ids_maps">
    <div  id='maps_metro'  style="display: none;">
        <?php echo $maps;?>
    </div>
    <script src="http://api-maps.yandex.ru/1.1/index.xml?key=ADvWGFABAAAASwkMTwIAsHoMAnDWW80CWMZnXrEB0hgKksQAAAAAAAAAAABBWwFnq2ESo-cr7ggavsWSyhVomg=="
    type="text/javascript"></script>
    <div id="maps_land">
        <?php  $this -> load -> view('question/metro/maps');?>
    </div>
</div>